package cn.ucai.day0907;

public class TestMethod {

	public static void main(String[] args) {
		a("Hello",3);
		a("World",1);
		a("Hello",2);
		a("World",2);
		a("Hello",1);

	}
	public static void a(String s,int num){
		for (int i=0;i<num;i++)
			System.out.println(s);
	}
}
